Update generated code for private-preview#2206
Merged
stripe-openapi[bot] merged 12 commits intoprivate-previewfrom Apr 24, 2026
Merged
Update generated code for private-preview#2206stripe-openapi[bot] merged 12 commits intoprivate-previewfrom
stripe-openapi[bot] merged 12 commits intoprivate-previewfrom
Conversation
* Fix missing stripeContext in RequestOptions.toBuilderFullCopy() * Address review feedback: remove redundant test and fix formatting
* Update generated code for v2240 and * Update generated code for v2249 and * Update generated code for v2252 and --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: Michael Broshi <94012587+mbroshi-stripe@users.noreply.github.com>
mbroshi-stripe
approved these changes
Apr 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Codegen for openapi v2253 and proto spec .
Changelog
v2.commerce.ProductCatalogImport,v2.core.ApprovalRequest,v2.extend.WorkflowRun,v2.extend.Workflow,v2.iam.ActivityLog,v2.network.BusinessProfile, andv2.orchestratedcommerce.Agreementv2.core.WorkflowRunandv2.core.Workflowconfirm,create,list,retrieve, andterminatemethods on resourcev2.orchestratedcommerce.Agreementmeandretrievemethods on resourcev2.network.BusinessProfilelistmethod on resourcev2.iam.ActivityLoglistandretrievemethods on resourcev2.extend.WorkflowRuninvoke,list, andretrievemethods on resourcev2.extend.Workflowcancel,execute,list,retrieve, andsubmitmethods on resourcev2.core.ApprovalRequestcreateandretrievemethods on resourcev2.commerce.ProductCatalogImportlistandretrievemethods on resourcev2.core.WorkflowRuninvoke,list, andretrievemethods on resourcev2.core.Workflowrenew_onboarding_linkmethod on resourcev2.core.ClaimableSandboxcustomeronsharedpayment.IssuedTokenbillManagementandsendMoneyonAccountSession.components.bills.featuresgiftCardonCharge.payment_method_details,PaymentAttemptRecord.payment_method_details, andPaymentRecord.payment_method_detailscustomPaymentMethodTypesoncheckout.SessionCreateParamsandcheckout.SessionpaymentRecordoncheckout.SessionsharedPaymentGrantedTokenonConfirmationTokenCreateParams.payment_method_data,PaymentIntentConfirmParams.payment_method_data,PaymentIntentCreateParams.payment_method_data,PaymentIntentUpdateParams.payment_method_data,PaymentIntent,PaymentMethod,SetupIntentConfirmParams.payment_method_data,SetupIntentCreateParams.payment_method_data, andSetupIntentUpdateParams.payment_method_datapaymentMethodonConfirmationToken.payment_method_preview.sepa_debit.generated_from,PaymentMethod.sepa_debit.generated_from, andsharedpayment.GrantedToken.payment_method_details.sepa_debit.generated_fromdelegatedcheckout.RequestedSessionUpdateParams.fulfillment_details.selected_fulfillment_option.typeanddelegatedcheckout.RequestedSessionUpdateParams.fulfillment_details.selected_fulfillment_option_overrides[].typefromstringtoenum('digital'|'shipping')returnUrlondelegatedcheckout.RequestedSessionConfirmParamsbuyerConsentsondelegatedcheckout.RequestedSessioncryptoTransactionsonissuing.Authorization,issuing.Dispute, andissuing.TransactionpaymentFacilitatorIdandsubMerchantIdonissuing.Authorization.merchant_dataandissuing.Transaction.merchant_dataidentifiersonOrderCreateParams.line_items[].product_data,OrderUpdateParams.line_items[].product_data,ProductCreateParams,ProductUpdateParams, andProductagentDetailsonPaymentIntentexternalReferenceonPriceCreateParamsandPriceUpdateParamsloginSucceededandregistrationSucceededonradar.AccountEvaluation.events[]andradar.AccountEvaluationUpdateParamsprintContentonterminal.Reader.actionappChannelonv2.core.ClaimableSandboxCreateParamsandv2.core.ClaimableSandboxonboardingLinkDetailsandownerDetailsonv2.core.ClaimableSandboxclaimUrlonv2.core.ClaimableSandboxownerAccountonv2.core.ClaimableSandbox.sandbox_detailssnapshotEventonv2.core.EventmultiprocessorSettlementonv2.moneymanagement.FinancialAccountcaBankAccountonv2.moneymanagement.FinancialAddress.credentialsandv2.moneymanagement.ReceivedCredit.bank_transferamountDetailsandpaymentDetailsonv2.payments.OffSessionPaymentCaptureParams,v2.payments.OffSessionPaymentCreateParams, andv2.payments.OffSessionPaymentdescriptiononv2.payments.OffSessionPaymentCreateParamsandv2.payments.OffSessionPaymentacsson enumv2.FinancialAddressCreditSimulationCreditParams.networkmcconv2.payments.OffSessionPaymentCreateParams.payment_method_options.cardv2.payments.OffSessionPaymentCreateParams.payment_method_options.card.networkTransactionIdto be optionalfutsuandtozaon enumsv2.core.vault.GbBankAccountCreateParams.bankAccountType,v2.moneymanagement.OutboundSetupIntentCreateParams.payout_method_data.bank_account.bankAccountType, andv2.moneymanagement.OutboundSetupIntentUpdateParams.payout_method_data.bank_account.bankAccountTypetempoon enumv2.moneymanagement.OutboundSetupIntentCreateParams.payout_method_data.crypto_wallet.networkcredentials.ca_bank_account.account_numberon enumsv2.moneymanagement.FinancialAddressListParams.includeandv2.moneymanagement.FinancialAddressRetrieveParams.includeca_bank_accounton enumv2.moneymanagement.FinancialAddressCreateParams.typemultiprocessor_settlementon enumv2.moneymanagement.FinancialAccountListParams.typesstorageonv2.moneymanagement.FinancialAccountUpdateParamsfxQuoteonv2.moneymanagement.CurrencyConversionCreateParamsv2.moneymanagement.CurrencyConversionCreateParams.financialAccountto be optionalonboardingLinkDetailsonv2.core.ClaimableSandboxCreateParamsv2.core.BatchJobCreateParams.endpoint.httpMethodfromliteral('post')toenum('delete'|'post')bm_crn,bo_tin,bt_tpn,co_nit,ec_ruc,eg_tin,gh_tin,gy_tin,hn_rtn,jm_trn,jo_crn,ke_pin,ky_crn,lk_tin,mo_tin,mv_tin,ng_tin,pa_ruc,ph_tin,py_ruc,sl_tin,sv_nit,uy_ruc,vg_cn, andza_tinon enumsv2.core.AccountCreateParams.identity.business_details.id_numbers[].type,v2.core.AccountTokenCreateParams.identity.business_details.id_numbers[].type, andv2.core.AccountUpdateParams.identity.business_details.id_numbers[].typebm_pp,bo_ci,bt_cid,eg_tin,gh_pin,gy_tin,hn_rtn,jm_trn,jo_pin,ky_pp,lk_nic,mo_bir,mt_nic,mv_tin,pa_ruc,ph_tin,py_ruc,si_pin,sv_nit, andvg_ppon enumsv2.core.AccountCreateParams.identity.individual.id_numbers[].type,v2.core.AccountPersonCreateParams.id_numbers[].type,v2.core.AccountPersonTokenCreateParams.id_numbers[].type,v2.core.AccountPersonUpdateParams.id_numbers[].type,v2.core.AccountTokenCreateParams.identity.individual.id_numbers[].type, andv2.core.AccountUpdateParams.identity.individual.id_numbers[].typemeter_event_value_too_many_digitson enumsEventsV1BillingMeterErrorReportTriggeredEvent.reason.error_types[].codeandEventsV1BillingMeterNoMeterFoundEvent.reason.error_types[].codetreasuryTransactiononEventsV2MoneyManagementTransactionCreatedEventV1AccountApplicationAuthorizedEvent,V1AccountApplicationDeauthorizedEvent,V1AccountExternalAccountCreatedEvent,V1AccountExternalAccountDeletedEvent,V1AccountExternalAccountUpdatedEvent,V1BillingPortalSessionCreatedEvent,V1EntitlementsActiveEntitlementSummaryUpdatedEvent,V2CoreHealthMeterEventSummariesDelayedFiringEvent, andV2CoreHealthMeterEventSummariesDelayedResolvedEventV1AccountUpdatedEventwith related objectAccountV1ApplicationFeeCreatedEventandV1ApplicationFeeRefundedEventwith related objectApplicationFeeV1ApplicationFeeRefundUpdatedEventwith related objectFeeRefundV1BalanceAvailableEventwith related objectBalanceV1BillingAlertTriggeredEventwith related objectbilling.AlertV1BillingPortalConfigurationCreatedEventandV1BillingPortalConfigurationUpdatedEventwith related objectbillingportal.ConfigurationV1CapabilityUpdatedEventwith related objectCapabilityV1CashBalanceFundsAvailableEventwith related objectCashBalanceV1ChargeCapturedEvent,V1ChargeExpiredEvent,V1ChargeFailedEvent,V1ChargePendingEvent,V1ChargeRefundedEvent,V1ChargeSucceededEvent, andV1ChargeUpdatedEventwith related objectChargeV1ChargeDisputeClosedEvent,V1ChargeDisputeCreatedEvent,V1ChargeDisputeFundsReinstatedEvent,V1ChargeDisputeFundsWithdrawnEvent, andV1ChargeDisputeUpdatedEventwith related objectDisputeV1ChargeRefundUpdatedEvent,V1RefundCreatedEvent,V1RefundFailedEvent, andV1RefundUpdatedEventwith related objectRefundV1CheckoutSessionAsyncPaymentFailedEvent,V1CheckoutSessionAsyncPaymentSucceededEvent,V1CheckoutSessionCompletedEvent, andV1CheckoutSessionExpiredEventwith related objectcheckout.SessionV1ClimateOrderCanceledEvent,V1ClimateOrderCreatedEvent,V1ClimateOrderDelayedEvent,V1ClimateOrderDeliveredEvent, andV1ClimateOrderProductSubstitutedEventwith related objectclimate.OrderV1ClimateProductCreatedEventandV1ClimateProductPricingUpdatedEventwith related objectclimate.ProductV1CouponCreatedEvent,V1CouponDeletedEvent, andV1CouponUpdatedEventwith related objectCouponV1CreditNoteCreatedEvent,V1CreditNoteUpdatedEvent, andV1CreditNoteVoidedEventwith related objectCreditNoteV1CustomerCreatedEvent,V1CustomerDeletedEvent, andV1CustomerUpdatedEventwith related objectCustomerV1CustomerSubscriptionCreatedEvent,V1CustomerSubscriptionDeletedEvent,V1CustomerSubscriptionPausedEvent,V1CustomerSubscriptionPendingUpdateAppliedEvent,V1CustomerSubscriptionPendingUpdateExpiredEvent,V1CustomerSubscriptionResumedEvent,V1CustomerSubscriptionTrialWillEndEvent, andV1CustomerSubscriptionUpdatedEventwith related objectSubscriptionV1CustomerTaxIdCreatedEvent,V1CustomerTaxIdDeletedEvent, andV1CustomerTaxIdUpdatedEventwith related objectTaxIdV1CustomerCashBalanceTransactionCreatedEventwith related objectCustomerCashBalanceTransactionV1FileCreatedEventwith related objectFileV1FinancialConnectionsAccountCreatedEvent,V1FinancialConnectionsAccountDeactivatedEvent,V1FinancialConnectionsAccountDisconnectedEvent,V1FinancialConnectionsAccountReactivatedEvent,V1FinancialConnectionsAccountRefreshedBalanceEvent,V1FinancialConnectionsAccountRefreshedOwnershipEvent, andV1FinancialConnectionsAccountRefreshedTransactionsEventwith related objectfinancialconnections.AccountV1IdentityVerificationSessionCanceledEvent,V1IdentityVerificationSessionCreatedEvent,V1IdentityVerificationSessionProcessingEvent,V1IdentityVerificationSessionRedactedEvent,V1IdentityVerificationSessionRequiresInputEvent, andV1IdentityVerificationSessionVerifiedEventwith related objectidentity.VerificationSessionV1InvoiceCreatedEvent,V1InvoiceDeletedEvent,V1InvoiceFinalizationFailedEvent,V1InvoiceFinalizedEvent,V1InvoiceMarkedUncollectibleEvent,V1InvoiceOverdueEvent,V1InvoiceOverpaidEvent,V1InvoicePaidEvent,V1InvoicePaymentActionRequiredEvent,V1InvoicePaymentFailedEvent,V1InvoicePaymentSucceededEvent,V1InvoiceSentEvent,V1InvoiceUpcomingEvent,V1InvoiceUpdatedEvent,V1InvoiceVoidedEvent, andV1InvoiceWillBeDueEventwith related objectInvoiceV1InvoicePaymentPaidEventwith related objectInvoicePaymentV1InvoiceitemCreatedEventandV1InvoiceitemDeletedEventwith related objectInvoiceItemV1IssuingAuthorizationCreatedEvent,V1IssuingAuthorizationRequestEvent, andV1IssuingAuthorizationUpdatedEventwith related objectissuing.AuthorizationV1IssuingCardCreatedEventandV1IssuingCardUpdatedEventwith related objectissuing.CardV1IssuingCardholderCreatedEventandV1IssuingCardholderUpdatedEventwith related objectissuing.CardholderV1IssuingDisputeClosedEvent,V1IssuingDisputeCreatedEvent,V1IssuingDisputeFundsReinstatedEvent,V1IssuingDisputeFundsRescindedEvent,V1IssuingDisputeSubmittedEvent, andV1IssuingDisputeUpdatedEventwith related objectissuing.DisputeV1IssuingPersonalizationDesignActivatedEvent,V1IssuingPersonalizationDesignDeactivatedEvent,V1IssuingPersonalizationDesignRejectedEvent, andV1IssuingPersonalizationDesignUpdatedEventwith related objectissuing.PersonalizationDesignV1IssuingTokenCreatedEventandV1IssuingTokenUpdatedEventwith related objectissuing.TokenV1IssuingTransactionCreatedEvent,V1IssuingTransactionPurchaseDetailsReceiptUpdatedEvent, andV1IssuingTransactionUpdatedEventwith related objectissuing.TransactionV1MandateUpdatedEventwith related objectMandateV1PaymentIntentAmountCapturableUpdatedEvent,V1PaymentIntentCanceledEvent,V1PaymentIntentCreatedEvent,V1PaymentIntentPartiallyFundedEvent,V1PaymentIntentPaymentFailedEvent,V1PaymentIntentProcessingEvent,V1PaymentIntentRequiresActionEvent, andV1PaymentIntentSucceededEventwith related objectPaymentIntentV1PaymentLinkCreatedEventandV1PaymentLinkUpdatedEventwith related objectPaymentLinkV1PaymentMethodAttachedEvent,V1PaymentMethodAutomaticallyUpdatedEvent,V1PaymentMethodDetachedEvent, andV1PaymentMethodUpdatedEventwith related objectPaymentMethodV1PayoutCanceledEvent,V1PayoutCreatedEvent,V1PayoutFailedEvent,V1PayoutPaidEvent,V1PayoutReconciliationCompletedEvent, andV1PayoutUpdatedEventwith related objectPayoutV1PersonCreatedEvent,V1PersonDeletedEvent, andV1PersonUpdatedEventwith related objectPersonV1PlanCreatedEvent,V1PlanDeletedEvent, andV1PlanUpdatedEventwith related objectPlanV1PriceCreatedEvent,V1PriceDeletedEvent, andV1PriceUpdatedEventwith related objectPriceV1ProductCreatedEvent,V1ProductDeletedEvent, andV1ProductUpdatedEventwith related objectProductV1PromotionCodeCreatedEventandV1PromotionCodeUpdatedEventwith related objectPromotionCodeV1QuoteAcceptedEvent,V1QuoteCanceledEvent,V1QuoteCreatedEvent, andV1QuoteFinalizedEventwith related objectQuoteV1RadarEarlyFraudWarningCreatedEventandV1RadarEarlyFraudWarningUpdatedEventwith related objectradar.EarlyFraudWarningV1ReviewClosedEventandV1ReviewOpenedEventwith related objectReviewV1SetupIntentCanceledEvent,V1SetupIntentCreatedEvent,V1SetupIntentRequiresActionEvent,V1SetupIntentSetupFailedEvent, andV1SetupIntentSucceededEventwith related objectSetupIntentV1SigmaScheduledQueryRunCreatedEventwith related objectsigma.ScheduledQueryRunV1SourceCanceledEvent,V1SourceChargeableEvent,V1SourceFailedEvent, andV1SourceRefundAttributesRequiredEventwith related objectSourceV1SubscriptionScheduleAbortedEvent,V1SubscriptionScheduleCanceledEvent,V1SubscriptionScheduleCompletedEvent,V1SubscriptionScheduleCreatedEvent,V1SubscriptionScheduleExpiringEvent,V1SubscriptionScheduleReleasedEvent, andV1SubscriptionScheduleUpdatedEventwith related objectSubscriptionScheduleV1TaxSettingsUpdatedEventwith related objecttax.SettingsV1TaxRateCreatedEventandV1TaxRateUpdatedEventwith related objectTaxRateV1TerminalReaderActionFailedEvent,V1TerminalReaderActionSucceededEvent, andV1TerminalReaderActionUpdatedEventwith related objectterminal.ReaderV1TestHelpersTestClockAdvancingEvent,V1TestHelpersTestClockCreatedEvent,V1TestHelpersTestClockDeletedEvent,V1TestHelpersTestClockInternalFailureEvent, andV1TestHelpersTestClockReadyEventwith related objecttesthelpers.TestClockV1TopupCanceledEvent,V1TopupCreatedEvent,V1TopupFailedEvent,V1TopupReversedEvent, andV1TopupSucceededEventwith related objectTopupV1TransferCreatedEvent,V1TransferReversedEvent, andV1TransferUpdatedEventwith related objectTransferV2CommerceProductCatalogImportsFailedEvent,V2CommerceProductCatalogImportsProcessingEvent,V2CommerceProductCatalogImportsSucceededEvent, andV2CommerceProductCatalogImportsSucceededWithErrorsEventwith related objectv2.commerce.ProductCatalogImportV2CoreApprovalRequestApprovedEvent,V2CoreApprovalRequestCanceledEvent,V2CoreApprovalRequestFailedEvent,V2CoreApprovalRequestRejectedEvent, andV2CoreApprovalRequestSucceededEventwith related objectv2.core.ApprovalRequestV2CoreClaimableSandboxUpdatedEventwith related objectv2.core.ClaimableSandboxV2ExtendWorkflowRunFailedEvent,V2ExtendWorkflowRunStartedEvent, andV2ExtendWorkflowRunSucceededEventwith related objectv2.extend.WorkflowRunV2OrchestratedCommerceAgreementConfirmedEvent,V2OrchestratedCommerceAgreementCreatedEvent,V2OrchestratedCommerceAgreementPartiallyConfirmedEvent, andV2OrchestratedCommerceAgreementTerminatedEventwith related objectv2.orchestratedcommerce.AgreementV2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEventwith related objectv2.core.ClaimableSandboxFxQuoteExpiredException